<?php

require_once ('CoreTag.php');

class Button extends CoreTag {
	
	protected $disabled;
	protected $name;
	protected $type;
	protected $value;
	
	protected $accesskey;
	protected $lang;
	protected $tabindex;
	
	public function __construct() {
		parent::__construct ("button");
		$this->disabled="";
		$this->name="";
		$this->type="";
		$this->value="";
		$this->attributeNames=array_merge($this->attributeNames,array('disabled','name','type','value','accesskey','lang','tabindex'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','','','',''));
	}
	
	public function setDisabled($_disabled)
	{
		$this->disabled=(string)$_disabled;
		$this->setAttributeValue('disabled',$_disabled);
	}
	
	public function getDisabled()
	{
		return $this->disabled;
	}
	
	public function setName($_name)
	{
		$this->name=(string)$_name;
		$this->setAttribute('name',$_name);
	}
	
	public function getName()
	{
		return $this->name;
	}
	
	public function setType($_type)
	{
		$this->type=(string)$_type;
		$this->setAttribute('type',$_type);
	}
	
	public function getType()
	{
		return $this->type;
	}
	
	public function setValue($_value)
	{
		$this->value=(string)$_value;
		$this->setAttribute('value',$_value);
	}
	
	public function getValue()
	{
		return $this->value;
	}
	
	public function setAccessKey($_accesskey)
	{
		$this->accesskey=(string)$_accesskey;
		$this->setAttribute('accesskey',$_accesskey);
	}
	
	public function getAccessKey()
	{
		return $this->accesskey;
	}
	
	public function setLang($_lang)
	{
		$this->lang=(string)$_lang;
		$this->setAttribute('lang',$_lang);
	}
	
	public function getLang()
	{
		return $this->lang;
	}
	
	public function setTabIndex($_tabindex)
	{
		$this->tabindex=(string)$_tabindex;
		$this->setAttribute('tabindex',$_tabindex);
	}
	
	public function getTabIndex()
	{
		return $this->tabindex;
	}
}

?>